package com.dao;

import com.entity.Course;
import com.page.PageInfo;

import java.util.List;

public interface CourseDao {
     public List<Course> getAllCourse()  throws Exception;

     public List<Course> getCourseByPage(PageInfo pageInfo)  throws Exception;


     public Integer addCourse(Course course)  throws Exception;

     public Integer editCourse(Course course)  throws Exception;

     public String getMaxId();
}
